<% flash_messages.each do |type, klass, message| %>
  <div class="alert alert-<%= klass %>">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    <%= message %>
    <%= link_to_request_access if type == :authorization_error && display_access_request_link? %>
  </div>
<% end %>

<!-- Flash messages for ajax requests -->
<mc-messages></mc-messages>
